// ***************************************************************
//  PtzParser   version:  1.0   ? date: 02/28/2008
//  -------------------------------------------------------------
//  
//  -------------------------------------------------------------
//  Copyright (C) 2008 - All Rights Reserved
// ***************************************************************
// 
// ***************************************************************

#ifndef PtzParser_h__
#define PtzParser_h__
#include <vector>
using namespace std;
typedef struct _ptzDataElement{
	vector <unsigned char> data;
	int	delayTime;
}PtzDataElement;
typedef vector<PtzDataElement> PtzData;

class PtzParser  
{
public:
	int vspeed;
	int hspeed;
	int address;
	int parse(char *ptzCode);
	PtzParser();
	virtual ~PtzParser();
	PtzData ptzData;
//	char*	ptzCode;
};

#endif // PtzParser_h__


